function error500(res) {
	res.setHeader('Content-type', 'text/plain');
	res.send(500, 'Error 500, something went wrong with the server :\'(');
}

function error404(res) {
	res.setHeader('Content-type', 'text/plain');
	res.send(404, 'This is not the page you are looking for\nAnyway what you\'r looking for is not here, sorry !');
}

exports.error404 = error404;
exports.error500 = error500;